package com.crm.business.crm.mapper;


import com.crm.common.crm.entity.BO.CrmRoiSearchBO;
import com.crm.common.crm.entity.PO.CrmAllianceBusiness;
import com.crm.business.servlet.BaseMapper;
import com.crm.common.ka.core.servlet.upload.FileEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 加盟商充值表 Mapper 接口
 * </p>
 *
 * @author zhangzhiwei
 * @since 2020-05-26
 */
public interface CrmAllianceBusinessMapper extends BaseMapper<CrmAllianceBusiness> {


    List<CrmAllianceBusiness> queryPageList(@Param("data") CrmRoiSearchBO search);

    CrmAllianceBusiness queryById(@Param("id") Integer id);

    CrmAllianceBusiness queryListById(@Param("id") Integer id);

    List<FileEntity> queryListCrmBatch(@Param("batchIds") String batchIds);
}
